/*    */
package com.javafactroy.kunlong.codegen.app;

import com.javafactroy.kunlong.codegen.context.AppContext;
import com.javafactroy.kunlong.codegen.ui.MainFrame;

import javax.swing.*;


 public class AppMain {

    public static void main(String[] args) {

        try {
            System.out.println(System.getProperty("user.dir"));
            AppContext.init();
        } catch (Exception e) {
            e.printStackTrace();
            JOptionPane.showMessageDialog(null, "初始化程序异常:" + e.getMessage());

        }
        System.out.println("config properties:" + AppContext.getProps());
        MainFrame main = new MainFrame(1024, 768, "Hbatis代码生成工具V2.0");

        AppContext.setApp(main);
        main.setVisible(true);

    }
}


/* Location:              L:\dongxw\Git工具dmp\hbatis-codegen.jar!\com\pitaya\codegen\AppMain.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.2
 */